package bomberman.client;

import java.awt.Graphics;
import java.awt.Image;
import java.util.Map;

import javax.swing.JPanel;

public class TileView extends JPanel {

	/**
	 * version id
	 */
	private static final long serialVersionUID = 7083872222870341840L;
	
	private final Map<Object, Image> images;
	
	public TileView(Map<Object, Image> images) {
		this.images = images;
	}
	
	public void paint(Graphics g)
	{
		System.out.println(WIDTH + " en" + HEIGHT);
		g.drawImage(images.get(null), 0, 0, WIDTH, HEIGHT, this);
	}
	
}
